<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
<meta name="format-detection" content="telephone=no">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>中国移动收银台</title>
<script type="text/javascript" src="/js/jquery-1.9.1.js"></script>
<script type="text/javascript" src="/js/bootstrap.js"></script>
<script src="/js/getCurrentDate.js" type="text/javascript"></script>
	<!--[if lt IE 9]>
		<script src="/js/html5shiv.min.js"></script>
    	<script src="/js/respond.js"></script>
	<![endif]--> 
<link href="/css/bootstrap.css" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="/css/paycomm.css">
<script type="text/javascript">

	$(document).ready(function() {
	/* 	var curDate = getCurDate();
		var curDateTime = getCurDateTime();
		var ordernb = "0069" + curDateTime + (Math.random()+"").substring(2,13);
		$("#OrderNo").val(ordernb);
		$("#ReqDate").val(curDate); */
	});
	if("${rspMap.ReturnURL}" != ""){
	    setTimeout("document.forms['return'].submit()",3000);
	}
	/* document.forms['paysubmit'].submit() */;
</script>

<body style="background: #f0f0f0;">
	<form class="form-horizontal" name="return" method="post" id="return" action="${rspMap.ReturnURL}">
	<c:forEach var="item" items="${rspMap}"> 
	   <input type="hidden" id="${item.key}" name="${item.key}" value="${item.value}"/>
	</c:forEach> 
	</form>
	<!-- <script>document.forms['return'].submit()</script> -->
	
	<div class="pay-top">
		<div class="top-content">
			<div class="top-left">
				<img src="/img/icon_logo.png" />
				<span>中国移动收银台</span>           
			</div>
			<div class="top-right"><h6>China&nbsp&nbsp Mobile&nbsp&nbsp shenzhen</h6></div>
		</div>
	</div>
	
	<div class="success-pay">
		<!--支付成功-->
		<table id="tab-success" cellpadding="0" cellspacing="0" class="pay-tab-success">
			<tr >
				<td><img src="/img/icon_succeed.png"></td>
				<td>
					<p class="success-names">支付成功！</p>
					<p class="success-moneys">支付金额：<i>${rspMap.Payment/100.00}</i>元</p>
				</td>
			</tr>
		</table>
		
	<%-- 	<!--支付失败-->
		<table id="tab-fail" cellpadding="0" cellspacing="0" class="pay-tab-fail" >
			<tr>
				<td><img src="/img/icon_fail.png"></td>
				<td>
					<p class="fail-names">支付失败！</p><button class="align-pay">再次支付</button>
				</td>
			</tr>
		</table> --%>
		
		<!-- <div id="waiting" class="success-warn">正在跳转商户页面,更多精彩,请稍等......</div> -->
		        <%-- <div class="success-order-time">订单日期：${rspMap.ReqDate}</div> --%>
		<div class="success-infos">
			<div style="font-size: 18px;color: #333;margin: 10px;">订单详情</div>
			<table cellpadding="0" cellspacing="0" class="infos-tab" style="padding: 0 10px;">
			
				<tr>
					<td class="left-td">订单日期:</td>
					<td><p>${rspMap.ReqDate}</p></td>
				</tr>
				<tr>
					<td class="left-td">订单号:</td>
					<td><p>${rspMap.OrderNo}</p></td>
				</tr>
				<tr>
					<td class="left-td">商品名称:</td>
					<td><p>${rspMap.ProductName}</p></td>
				</tr>
			</table>
		</div>
	</div>
	
	<div class="pay-bottom">
		<div>Copyright©2004-2016 中国移动 版权所有</div>
	</div>
</body>
</html>
